From f15dc94beccee98875b942c8ad82540efcb9a490 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 8 Oct 2007 10:57:32 +0100 Subject: [PATCH] xend: Remove unused xoptions.netback_type. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendOptions.py | 3 --- tools/python/xen/xend/osdep.py | 5 ----- 2 files changed, 8 deletions(-) diff --git a/tools/python/xen/xend/XendOptions.py b/tools/python/xen/xend/XendOptions.py index af09220782..0ac9ca62ef 100644 --- a/tools/python/xen/xend/XendOptions.py +++ b/tools/python/xen/xend/XendOptions.py @@ -111,9 +111,6 @@ class XendOptions: """Default xend QCoW storage repository location.""" xend_storage_path_default = '/var/lib/xend/storage' - """Default type of backend network interfaces""" - netback_type = osdep.netback_type - """Default script to configure a backend network interface""" vif_script = osdep.vif_script diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py index 3dc343385e..93b2dfdb4e 100644 --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -33,10 +33,6 @@ _pygrub_path = { "SunOS": "/usr/lib/xen/bin/pygrub" } -_netback_type = { - "SunOS": "SUNW_mac" -} - _vif_script = { "SunOS": "vif-vnic" } @@ -96,6 +92,5 @@ def _get(var, default=None): scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") -netback_type = _get(_netback_type, "netfront") vif_script = _get(_vif_script, "vif-bridge") lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat) -- 2.30.2